package cn.tpshion.devops.domain.dto;

import lombok.Data;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
public class LoginDTO implements Serializable {

    @NotBlank(message = "帐号不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;
}
